# Copyright (c) 2007-2011 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
# WINSCW PLUGIN Function Like Makefile (FLM)
# Build an emulator PLUGIN
# 
#

ifneq ($(filter plugin plugin3,$(TARGETTYPE)),)
BASE_TYPE:=dll
CW_STATIC_RUNTIME:=1
FIRST_STATLIB:=
SUPPORTS_IMPORT_LIBRARY:=0
SYSTEM_TARGET:=0

UID2_DEFAULT:=10009D8D
FIXED_EXPORT:=?ImplementationGroupProxy@@YAPBUTImplementationProxy@@AAH@Z
ifeq ($(TARGETTYPE),plugin3)
UID2_DEFAULT:=10009D93
FIXED_EXPORT:=?ImplementationGroupProxy@@YAPBUTImplementationProxy3@@AAH@Z
endif

# Use the general win32 FLM 
include $(FLMHOME)/win32.flm

else
$(error $win32plugin.flm called with wrong TARGETTYPE (should be 'plugin' or 'plugin3' but is '$(TARGETTYPE)'))
endif
